Sometimes, session-manager-plugin doesn't start the port forwarding session and just hangs up. This was leading to Basti never showing the success message and the port forwarding session itself never starting.
This PR introduces a timeout for the session-manager-plugin to start a session. If the session is not started in 30 seconds, the plugin is killed and restarted in 1 second.
Summary
Sometimes,
session-manager-plugin
doesn't start the port forwarding session and just hangs up. This was leading to Basti never showing the success message and the port forwarding session itself never starting.This PR introduces a timeout for the
session-manager-plugin
to start a session. If the session is not started in 30 seconds, the plugin is killed and restarted in 1 second.