Preventing MySQL server to go away