Adding timeouts to network socket.

Fixed bug with module load signal.