IDE-1018

Fixed the errors occur when adding breakpoints when server is starting and removing the breakpoints and resuming the remote freemarker server when server is stopping.