Update runserver
Add semaphore to Module object
Use one connection per command
Update server example
Start and stop server in tests